<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>毕业设计项目</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script src="../script/common.js"></script>
</head>

<body>

<div class="page_title">客户开发计划 &gt;制定计划</div>
<div class="button_bar">
	<button class="common_button" onclick="help('');">帮助</button>
	<button class="common_button" onclick="to('dev_execute.html');">执行计划</button>
	<button class="common_button" onclick="back();">返回</button>
</div>
<table class="query_form_table">
	<tr>
		<th>编号</th>
		<td>${salChanceId.chcId}</td>
		<th>机会来源</th>
		<td>
			 </td>
	</tr>
	<tr>
		<th>客户名称</th>
		<td>${salChanceId.chcCustName}</td>
		<th>成功机率（%）</th>
		<td>&nbsp;70</td>
	</tr>	
	<tr>
		<th>概要</th>
		<td colspan="3">${salChanceId.chcTitle}</td>
	</tr>
	<tr>
		<th>联系人</th>
		<td>${salChanceId.chcLinkman}</td>
		<th>联系人电话</th>
		<td>${salChanceId.chcTel}</td>
	</tr>
	<tr>
		<th>机会描述</th>
		<td colspan="3">...</td>
	</tr>
	<tr>
		<th>创建人</th>
		<td>刘颖</td>
		<th>创建时间</th>
		<td>2007年12月06日 16时09分08秒</td>
	</tr>
	<tr>
		<th>指派给</th>
		<td>
			郭小美</td>
		<th>指派时间</th>
		<td>
			2007年12月07日 09时00分38秒</td>
	</tr>

</table>
<br />
<table class="data_list_table" id="table1">
	<tr>
		<th width="150px">日期</th>
		<th height="31">计划项</th>
	</tr>
	<c:forEach var="salPlan" items="${salPlanId}">

	<tr>
		<form action="/salPlan/updateSalPlan">
			<input type="hidden" name="plaId" value="${salPlan.plaId}"/>
		<td class="list_data_text" height="24">${salPlan.plaDate}</td>
		<td class="list_data_ltext" height="24"><input size="50" name="plaTodo" value="${salPlan.plaTodo}" />
	<button class="common_button">保存</button>
		</form>
	<a href="/salPlan/deletSalPlan?plaId=${salPlan.plaId}"><button class="common_button">删除</button></a>
		</td>
	</tr>

	</c:forEach>
</table>
<form action="/salPlan/insetSalPlan" METHOD="post">
<div class="button_bar">
	<button class="common_button">保存</button>
	</div>

<table class="query_form_table" id="table2">


	<tr>
		<<input type="hidden" name="plaChcId" value="${salChanceId.chcId}">
		<th>日期</th>
		<td><input name="plaDate"/><span class="red_star">*</span></td>
		<th>计划项</th>
		<td>
			<input size="50" name="plaTodo"/><span class="red_star">*</span>
		</td>
	</tr>

</table>
</form>
</body>
</html>